package ModelLayer;



public class DeliveryType
{
    //instance variables
    private String id;
    private String name;
    private double pricePerKm;
    
    /**
     * Empty constructor for testing purposes
     */
    
    public DeliveryType()
    {
        id = "";
        name = "";
        pricePerKm = 0.0;
    }
    
    /**
     * Constructor for object of class Order
     */
    
    public DeliveryType(String _id, String _name, double _pricePerKm)
    {
       id = _id;
       name = _name;
       pricePerKm = _pricePerKm;
    }
    
    /**
     * Accessor and Mutator methods
     */
    
    public void setId(String _id)
    {
        id = _id;
    }
    
    public String getId()
    {
        return id;
    }
    
    public void setName(String _name)
    {
        name = _name;
    }
    
    public String getName()
    {
        return name;
    }
    
    public void setPricePerKm(double _pricePerKm)
    {
        pricePerKm = _pricePerKm;
    }
    
    public double getPricePerKm()
    {
        return pricePerKm;
    }
    
}
